home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMIBEST4.ADF / AmigaBasicStuff / DeluxeDraw.DOC < prev    next >
Text File  |  1987-07-22  |  5KB  |  98 lines

  1.  
  2. This is the program from issue #3 of Amazing Computing, where the following
  3. description can also be found.
  4.  
  5. DeluxeDraw is a drawing program with many features found only in more
  6. expensive drawing programs.  It saves pictures or brushes in the format
  7. used by BASIC for BOBs and VSprites.  One of the advantages of this program
  8. over other drawing programs is its ability to choose high or low
  9. resolution.  You may choose the number of bit planes, thus controlling the
  10. total number of colors available.  It is written in AmigaBasic and requires
  11. 512K bytes of memory.
  12.  
  13. Deluxe Draw demonstrates many advanced uses of Amiga Basic, including using
  14. functions from the Amiga operating system libraries.
  15.  
  16. Here is a a short description of the program's modes, and an explanation of
  17. the icons on the screen.
  18.  
  19. The number of available drawing colors is controlled by the number of bit
  20. planes selected when the program starts.  Enter 5 for 32 colors, 4 for
  21. sixteen colors, 3 for eight colors, or 2 for four colors.
  22.  
  23. The leftmost column of 4, 8, 16, or 32 boxes is used to select the current
  24. foreground and background colors.  The foreground color is surrounded by a
  25. white highlight, the background color is the previous foreground color.
  26. The foreground/background color pair are displayed in the lowest box in the
  27. second column.
  28.  
  29. The rightmost column is used to select the drawing styles and to toggle
  30. options on or off.  Each selected style or option is surrounded by a white
  31. highlight box.  To select an option, click once on the that box.
  32.  
  33. The first four boxes, with trapezoids inside, are different brush widths,
  34. from a single-pixel fine brush to a fat eight-pixel-wide brush.
  35.  
  36. The fifth box, with a brush icon inside, is used to select a custom brush.
  37. This selection lets you frame an area of your picture and use that area as
  38. a brush.  Move the mouse to the upper-left-hand corner of the area for the
  39. new brush, and click and hold the left mouse button.  Move the mouse to the
  40. lower-right-hand corner, and release the button.  If a brush has been
  41. selected, click this box again to discard the brush, and to select another.
  42.  
  43. The sixth box has an icon of rays radiating from a point.  It is used to
  44. draw multiple lines.  Select a center point for the lines with the mouse by
  45. clicking once in a spot in the drawing area.  Lines are drawn from the
  46. point where the mouse button is first pressed to the current mouse position
  47. as long as the button is held down.
  48.  
  49. The seventh icon is a tipped-over paint can.  This selection is used to
  50. flood fill an area with the current foreground color.  The area to be
  51. filled is that area with all adjacent pixels that have the same color as
  52. the one where the mouse button was clicked.  Note that this function uses
  53. the Amiga graphics library "Flood" call, instead of the corresponding Amiga
  54. Basic function.  The Amiga graphics function operates as one would expect -
  55. a marked area is filled with a color.
  56.  
  57. The eighth selection is for sizable circles.  A circle outline is
  58. rubber-banded between the center where the button is first pressed.  When
  59. the button is released, a circle is drawn at that size and location.  Its
  60. radius is the distance between that center and the current mouse position.
  61.  
  62. The ninth box has rectangle inside.  This is the sizable rectangle
  63. selection.  A rectangle is rubber banded between the point where the button
  64. is first pressed and the point where you let up on the button.  The
  65. rectangle is then drawn in the current foreground color.
  66.  
  67. The tenth icon with a single line is the line selection icon.  It draws a
  68. line between the point where the mouse button is first pressed and the
  69. point where it is released.
  70.  
  71. The eleventh box has a 'T' inside.  This denotes the text selection.
  72. Simply click the mouse button where text is to be printed, and type the
  73. text at the keyboard.  Note that the text will be printed with the current
  74. foreground and background colors.
  75.  
  76. The twelfth box which has three horizontal bars in it denotes the red,
  77. green, and blue sliders.  Click this box to adjust the currently selected
  78. drawing color.  A window with three sliders will appear.  These sliders are
  79. used to precisely select the amount of red, green, and blue in the current
  80. foreground color.
  81.  
  82. The thirteenth box, with a checkerboard pattern inside, is used to toggle
  83. between checker-fill and solid modes.  This controls whether flood fill,
  84. lines, rays, and the various width brushes paint in solids or checks.
  85.  
  86. The fourteenth box with multiple vertical stripes of color is used to turn
  87. on or off the color cycle mode.  The colors between the foreground and
  88. background color are rotated in a cyclical manner.
  89.  
  90. The fifteenth and last selectable box selects cycle draw.  When this is
  91. turned on the current foreground color is rotated through the colors
  92. between the foreground and background colors displayed in the last box.
  93.  
  94. ========================================================================
  95.  
  96. Program by Rick Wirch
  97.  
  98.